<style lang="stylus" scoped>
  .navTop
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 12;
    margin-top: -.25rem;
    .ticketNavMain
      width: 100%;
      display: flex;
      padding: 0 1.25rem;
      box-sizing: border-box;
      align-items: center;
      flex-wrap: wrap;
      height: 4rem;
      background: rgba(0,0,0,.6);
      div
        color #ffffff
      .return
        width: 20% !important;
      .ticketTitle
          width: 60%;
          text-align: center;
          font-size: 1.5rem;
</style>

<template>
  <div class="navTop">
    <div class="ticketNavMain">
      <div class="return" @click="this.$parent.href">
        <i class="iconfont icon-xiangzuo"></i>
      </div>
      <div class="ticketTitle">{{title}}</div>
    </div>
  </div>
</template>

<script>
export default {
  props:{
    title:{
      type:String
    }
  }
}
</script>
